package a66weding.com.jiehuntong.dao.record;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

/**
 * Created by admin on 2016/8/9.
 */
public class RecordOpenHelper extends SQLiteOpenHelper {

    public RecordOpenHelper(Context context) {
        super(context,"seacher.db", null, 1);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL("create table seacher (id integer primary key autoincrement, name varchar(20),keywords varchar(20)) ");

    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }
}
